<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="base.jsp"%>
<% request.setCharacterEncoding("utf-8"); %>

<html>

<head>
    <title></title>
    
    <script type="text/javascript" src="js/info.js"></script>

</head>

<body>

<%
  
String name = (String)session.getAttribute("username");

%>

<div style="margin-left: 20%; margin-top: 5%">
   
    <form method="post" onsubmit="return check()" action="postInfo">
      
        <h3>申报人:</h3>
        
        <input type="text" value="<%=name%>" name="username" disabled><br>
       
        <h3>地点:</h3>
      
        <input type="text" name="location"><br>
      
        <h3>经度:</h3>
       
        <input type="text" name="longitude"><br>
      
        <h3>纬度:</h3>
       
        <input type="text" name="latitude"><br>
      
        <h3>时间:</h3>
      
        <input type="date" name="time"><br>
       
        <h3>选择震感强度</h3>
       
        <input type="radio" name="degree" value="no">
       
        //无震感
      
        <input type="radio" name="degree" value="light">
       
        //灯具轻微晃动
       
        <input type="radio" name="degree" value="door">
       
        //门窗轻微作响
     
        <input type="radio" name="degree" value="inside">
       
        //室内人有明显震感
     
        <input type="radio" name="degree" value="outside">
       
        //室外人有明显震感
      
        <input type="radio" name="degree" value="furniture">
      
        //家具晃动
      
        <input type="radio" name="degree" value="people">
      
        //站立不稳<br>
        
        <h3>民众反应程度</h3>
       
      
        <input type="radio" name="reaction" value="rare">
      
        //极个别在户外避震
      
        <input type="radio" name="reaction" value="some">
      
        //少数在户外避震
      
        <input type="radio" name="reaction" value="more">
       
        //多数在户外避震
      
        <input type="radio" name="reaction" value="all">
      
        //均在户外避震
        
        <h3>建筑物破坏程度</h3>
       
        倒塌建筑物占总建筑物的
      
        <input type="text" name="destory">%<br>
        
        <h3>死亡人数分布</h3>
        死亡人数：
      
        <input type="number" name="dead"><br>
       
        <h3>受伤人数分布</h3>
     
        受伤人数：
        
        <input type="number" name="hurt"><br>
        
        <h3>基础设施灾情信息</h3>
       
        <a>电力系统</a>
     
        <input type="radio" name="elec" value="normal">
       
        //供电正常
       
        <input type="radio" name="elec" value="abnormal">
       
        //局部停电
        
        <input type="radio" name="elec" value="broken">
      
        //大范围停电<br>
     
        <a>通信系统</a>
       
        <input type="radio" name="concat" value="normal">
       
        //通信正常
       
        <input type="radio" name="concat" value="abnormal">
       
        //局部中断
       
        <input type="radio" name="concat" value="broken">
      
        //大范围中断<br>
       
        <a>交通系统</a>
       
        <input type="radio" name="traffic" value="normal">
       
        //通行正常
      
        <input type="radio" name="traffic" value="abnormal">
       
        //局部中断
       
        <input type="radio" name="traffic" value="broken">
       
        //大范围中断<br>
       
        <a>供水系统</a>
       
        <input type="radio" name="water" value="normal">
      
        //供水正常
       
        <input type="radio" name="water" value="abnormal">
       
      
        //局部停水
      
        <input type="radio" name="water" value="broken">
      
        //大范围停水<br>
     
        <a>供气系统</a>
       
        <input type="radio" name="gas" value="normal">
       
        //供气正常
       
        <input type="radio" name="gas" value="abnormal">
       
        //局部停气
       
        <input type="radio" name="gas" value="broken">
       
        //大范围停气<br>
     
        <h3>次生灾害事件:</h3>
       
        <input type="radio" name="type" value="no">
      
        //无
      
        <input type="radio" name="type" value="earthquake">
      
        //地震
     
        <input type="radio" name="type" value="waterflood">
      
        //洪水
      
        <input type="radio" name="type" value="mud">
      
        //泥石流
      
        <input type="radio" name="type" value="fire">
      
        //大火<br>
      
        <h3>救灾物资需求度</h3>
      
        食物:
        <input type="number" name="food">
        //人/天
        帐篷:
        <input type="number" name="tent">
        //顶
        棉被:
        <input type="number" name="quilt">
        //床
        药品:
        <input type="text" name="drug">
       
        //(自定义)<br>
        <button type="submit">
                        提交</button>
   
    </form>

</div>

</body>

 </html>
